package com.zuoye;

import java.util.LinkedHashMap;

public class test5 {
    public static void main(String[] args) {
        LinkedHashMap<Student, String> map = new LinkedHashMap<>();
        Student s1 = new Student("001", "张三", 50);
        Student s2 = new Student("001", "李四", 20);

        map.put(s1,"泰山");
        map.put(s2,"泰山");
        System.out.println(map.entrySet());


    }
}
